﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using cludg.Web.RateContentModule.Domain;
using cludg.Domain.Users;
using cludg.Domain.Content.Stories;

namespace cludg.Web.RateContentModule.Repository
{
	public interface IRateRepository
	{
		RateHistory GetForUser(User user, Story story);
		bool HasForUser(User user, Story story);
		IEnumerable<RateHistory> AllForStory(Story story);
		void Add(RateHistory rate);
		void Save(RateHistory rate);
	}
}